﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuDao
{
    public class AlbumDto
    {
		public int ID { get; set; }

        /// <summary>
        /// 租户ID
        /// </summary>
        public int TID { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public int GoodsID { get; set; }

		/// <summary>
		/// 图片地址
		/// </summary>
		public string ImageUrl { get; set; }

        /// <summary>
        /// 图片宽度
        /// </summary>
        public int Width { get; set; }

        /// <summary>
        /// 图片高度
        /// </summary>
        public int Height { get; set; }

        /// <summary>
        /// 是否轮播图
        /// </summary>
        public bool IsRotation { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public int FileSize { get; set; }

        /// <summary>
        /// 排序标志：值大的排前面
        /// </summary>
        public int SortFlag { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }

    }

    public class AlbumAddDto
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public int GoodsID { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 图片宽度
        /// </summary>
        public int Width { get; set; }

        /// <summary>
        /// 图片高度
        /// </summary>
        public int Height { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public int FileSize { get; set; }

        /// <summary>
        /// 排序标志：值大的排前面
        /// </summary>
        public int SortFlag { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Memo { get; set; }

    }

    public class AlbumModifyDto : AlbumAddDto
    {
		public int ID { get; set; }

	}
}
